package sdk3.components.DataGrid.RowColorDataGrid
{
	public class RowColorFunctions
	{
		public function RowColorFunctions()
		{
		}

		/** berechnet hintergrundfarbe ausgewählter elemente **/
		private function calcRowColor(item:Object, rowIndex:int,  dataIndex:int, color:uint):uint
		{
			if(item.selected == true)
				return 0x49FFAD; // if selected mark this element.
			else
				return color;
		}
	}
}